<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
</head>
<body>
    <div class="container">
        <form action="http://localhost:8080/file" method="POST" role="form" enctype="multipart/form-data">
            <legend>添加数据</legend>
        
            <div class="form-group">
                <label for="">电影名</label>
                <input type="text" class="form-control" name="title" placeholder="电影名">
            </div>
            <div class="form-group">
                <label for="">上传图片</label>
                <input type="file" class="form-control" name="file">
            </div>
            <div class="form-group">
                <label for="">slogo</label>
                <input type="text" class="form-control" name="slogo" placeholder="slogo">
            </div>
            <div class="form-group">
                <label for="">点评人数</label>
                <input type="text" class="form-control" name="evaluate" placeholder="点评人数">
            </div>
            <div class="form-group">
                <label for="">评分</label>
                <input type="text" class="form-control" name="rating" placeholder="评分">
            </div>
            <div class="form-group">
                <label for="">是否收藏</label>
                <input type="checkbox" name="friend">
            </div>
            <div class="form-group">
                <label for="">为电影选择标签</label>
                <input type="checkbox" name="label" value="美国">
                <input type="checkbox" name="label" value="奇幻">
                <input type="checkbox" name="label" value="灾难">
            </div>
            
            <button type="submit" class="btn btn-primary">Submit</button>
        </form>
    </div>
</body>
</html>